.PHONY:clean
all : KeyValueDB.o RocksStoreDB.o KCHashDB.o KCTreeDB.o
#	@echo "in kv dir..."
KeyValueDB.o : KeyValueDB.h KeyValueDB.cc
	g++ -c -fPIC -O2 -std=c++11 -Wall -fsigned-char -g KeyValueDB.cc -o ../obj/KeyValueDB.o -I/usr/local/rocksdb/include
RocksStoreDB.o : RocksStoreDB.h RocksStoreDB.cc
	g++ -c -fPIC -O2 -std=c++11 -Wall -fsigned-char -g RocksStoreDB.cc -o ../obj/RocksStoreDB.o -I/usr/local/rocksdb/include
KCHashDB.o : KCHashDB.h KCHashDB.cc
	g++ -c -fPIC -O2 -std=c++11 -Wall -fsigned-char -g KCHashDB.cc -o ../obj/KCHashDB.o
KCTreeDB.o : KCTreeDB.h KCTreeDB.cc
	g++ -c -fPIC -O2 -std=c++11 -Wall -fsigned-char -g KCTreeDB.cc -o ../obj/KCTreeDB.o

clean :
	rm -f *.o kvtest
